package com.atbun.eduservice;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Description : 讲师模块启动类
 * @Author : mayp
 * @Date: 2020-05-01 14:32
 */
@SpringBootApplication
@ComponentScan(basePackages = {"com.atbun"}) //扫描该包下的所有类
@EnableDiscoveryClient // Nacos服务注册中心
@EnableFeignClients // Feign服务远程调用（调用端）
public class EduApplication8001 {
    public static void main(String[] args) {
        SpringApplication.run(EduApplication8001.class,args);
    }
}
